package cn.gene.timeyan.pojo.article.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@ApiModel("文章回复")
public class ReplyVO {
    @ApiModelProperty(value = "回复id")
    private Long articleReplyId;
    @ApiModelProperty(value = "回复人id")
    private Long respondentId;
    @ApiModelProperty(value = "回复人昵称")
    private String respondentNickname;
    @ApiModelProperty(value = "回复人头像")
    private String respondentAvatar;
    @ApiModelProperty(value = "被回复人id")
    private Long byRespondentId;
    @ApiModelProperty(value = "被回复人昵称")
    private String byRespondentNickname;
    @ApiModelProperty(value = "文章id")
    private Long articleId;
    @ApiModelProperty(value = "回复人是否是文章作者")
    private char isAuthor;
    @ApiModelProperty(value = "回复内容")
    private String replyContent;
    @ApiModelProperty(value = "点赞数")
    private Integer likeNum;
    @ApiModelProperty(value = "回复时间")
    private LocalDateTime replyTime;
}
